package net.thxjj.mobileServer.service.impl;

import net.thxjj.mobileServer.dao.CompanyDao;
import net.thxjj.mobileServer.service.ICompanyService;
import net.thxjj.mobileServer.util.ParameterMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CompanyService implements ICompanyService {

    @Autowired
    private CompanyDao companyDao;

    @Override
    public ParameterMap getCompany(String pid) {

        return companyDao.getCompanyByPid(pid);
    }
}
